package top.malaoshi.mapper;



import org.apache.ibatis.annotations.Mapper;
import top.malaoshi.entity.UserModel;

import java.util.List;
@Mapper
public interface IUserMapper {
    public List<UserModel> queryByusername(String username);

    public List<UserModel> queryByPhone(String phone);

    public List<UserModel> queryByPhoneAndPassword(String phone,String password);

    public int insert(UserModel um);

    public int updateByPhone(UserModel um);
}